..Help .Objects

Sample and Hold

Freezes a signal using a trigger input.

Pins
io letter name unit description
in X input auto input signal
s sample logic when to grab a value
out = auto sampled input signal

Parameters
name option key description
mode sample
and hold
s See notes below
frame shift
and hold
f
trigger when to grab samples.
zerozero at startz keep the sampled value when play stops

Notes
In sample and hold mode, triggering the s input transfers the X input value to the output. Where it will remain until the next trigger is received.
Setting s as a gate will let all data through while the gate is triggered. When the gate goes to a not-triggered state, output will freeze on the last sample.
In frame shift and hold mode, the object acts a collector of samples. There are 1024 samples in the collection. Triggering s will cause the input value to be appended to the end of the collection and the first sample in the collection to be discarded.
Use frame shift and hold mode to down-sample. Triggering the s input at a fixed frequency, results in raising the pitch of the output signal by the ratio of 44100/trigger frequency. It is usually nessesary to use a lowpass before the down-sampler.




©1999-2002 Andy J Turner
All rights reserved.